package com.anrongtec.zcpt.module;

import com.google.gson.annotations.Expose;

import java.io.Serializable;

public class Staff implements Serializable {
    @Expose()
    private String staffName;//姓名
    @Expose()
    private String staffCode;//警号
    @Expose()
    private String staffIdno;//身份证号
    @Expose()
    private String mobile;//联系电话
    @Expose()
    private String email; //邮箱
    @Expose()
    private String deptId;//组织机构代码
    @Expose()
    private String deptName;//单位
    @Expose()
    private String userType;//,0：警察,1:辅警
    @Expose()
    private String token;//
    @Expose()
    private String accessToken;//

    public Staff() {
    }


    public Staff(String staffName, String staffCode, String staffIdno, String mobile, String email, String deptId,
                 String deptName, String userType) {
        this.staffName = staffName;
        this.staffCode = staffCode;
        this.staffIdno = staffIdno;
        this.mobile = mobile;
        this.email = email;
        this.deptId = deptId;
        this.deptName = deptName;
        this.userType = userType;
    }

    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    public String getStaffCode() {
        return staffCode;
    }

    public void setStaffCode(String staffCode) {
        this.staffCode = staffCode;
    }

    public String getStaffIdno() {
        return staffIdno;
    }

    public void setStaffIdno(String staffIdno) {
        this.staffIdno = staffIdno;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }


    @Override
    public String toString() {
        return "Staff [staffName=" + staffName + ", staffCode=" + staffCode + ", staffIdno=" + staffIdno + ", mobile="
                + mobile + ", email=" + email + ", deptId=" + deptId + ", deptName=" + deptName + ", userType="
                + userType + "]";
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }
}